/**
 *左边的导航树菜单 
 */
 Ext.define('Dsa.view.LeftMenu',{ 
    extend: 'Ext.tree.Panel', 
   
    alias: 'Dsa.leftmenu', 
    requires:['Dsa.store.LeftMenuStore'], 
    
    initComponent : function(){ 
        Ext.apply(this, { 
            id: 'menu-panel',
            itemId : 'menuPanelId',
            title: '系统菜单', 
            iconCls:'icon-menu', 
            margins : '0 0 -1 1', 
            region:'west', 
            border : false, 
            enableDD : false, 
            split: true, 
            width : 212, 
            minSize : 130, 
            maxSize : 300, 
            rootVisible: false, 
            containerScroll : true, 
            collapsible : true, 
            autoScroll: false,
            store: Ext.create('Dsa.store.LeftMenuStore'),
            root: {   
		        id: 'root',   
		        text: '根节点',   
		        expanded: false,   
		        leaf: false  
		    }
        }); 
        this.callParent(arguments); 
    } 
}); 
 